package com.zpark.wxshop.mapper;

import com.zpark.wxshop.Vo.CartVo;
import com.zpark.wxshop.Vo.VipcardVo;
import com.zpark.wxshop.entity.Vipcard;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author PJone
 * @since 2023-09-10
 */
public interface VipcardMapper extends BaseMapper<Vipcard> {
    List<VipcardVo> findByLapse(@Param("uid") Integer uid, @Param("lapse") Integer lapse);

    VipcardVo findOneByCardId(@Param("cardId") Integer cardId);
}
